package com.huangd.platform.modules.sys.service;

import com.huangd.platform.common.utils.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 文件管理
 *
 * @author huangd
 * @email
 * @date 2022-03-29 11:47:59
 */
public interface SysFileService {

    R list(HttpServletResponse response, String uri, String sort_by, String sort);

    R upload(MultipartFile file, String uri, int incType);

    R clear(String uri, String path);

    R delete(String path);

    Boolean dowload(HttpServletResponse response, String dir, String filename);
}